package com.inspur.edp.ai.flow.spi;

import com.inspur.edp.ai.flow.metadata.AbsNode;
import com.inspur.edp.common.expr.ast.ASTContext;
import com.inspur.edp.common.expr.evaluator.ExpressEvaluator;
import io.iec.edp.caf.multicontext.annotation.Collect;

import java.util.Map;

/**
 * @author lizhaorui
 * @date 2025/9/12
 * @description
 */

@Collect
public interface NodeCompiler {

    String getKind();

    Map<String, ExpressEvaluator> compile(ASTContext context, AbsNode absNode);

}